Blockly.Blocks['panda_1'] = {
    init: function() {
      this.appendDummyInput()
          .appendField(new Blockly.FieldImage("../res1/panda_1.jpg", 350, 130, "*"));
      this.setPreviousStatement(true, null);
      this.setNextStatement(true, null);
      this.setColour(280);
   this.setTooltip("");
   this.setHelpUrl("");
    }
  };

  Blockly.Blocks['panda_2'] = {
    init: function() {
      this.appendDummyInput()
          .appendField(new Blockly.FieldImage("../res1/panda_2.jpg", 350, 130, "*"));
      this.setPreviousStatement(true, null);
      this.setNextStatement(true, null);
      this.setColour(280);
   this.setTooltip("");
   this.setHelpUrl("");
    }
  };

  Blockly.JavaScript['panda_1'] = function(block) {
    // TODO: Assemble JavaScript into code variable.
    var code = "#panda_1";
    return code;
  };

  Blockly.JavaScript['panda_2'] = function(block) {
    // TODO: Assemble JavaScript into code variable.
    var code = '#panda_2';
    return code;
  };
